package com.apsfc.service.impl;

import com.apsfc.dao.OrderDao;
import com.apsfc.po.Order;
import com.apsfc.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("orderService")
public class OrderServiceImpl implements OrderService{

    @Autowired
    @Qualifier("orderDao")
    private OrderDao orderDao;

    @Override
    public List<Order> getAll() {   //测试用 获取所有Admin用户密码
        return orderDao.getAll();
    }
}
